<?php
declare(strict_types=1);

namespace App\Common\Modular\System\Model;

use Core\Basics\BasicsModel;
use Zms\HyperfCasts\StrtotimeCasts;

/**
 * @property string $sign 调用值
 * @property int $last_execution 上次执行
 */
class CrontabModel extends BasicsModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'system_crontab';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'last_execution' => StrtotimeCasts::class];
}
